<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
	
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<%-- 
	DBEXEL is a Database Backed & Web-Based Worksheet and chart management program. 
 	It has been influenced by Excel.
 	For questions or suggestions please contact the developper at ( Development@Gandomi.com )
 	Copyright (C) 2011 Baubak Gandomi   
 
 	This file is part of the application DBEXEL
 
 	DBEXEL is free software: you can redistribute it and/or modify
 	it under the terms of the GNU General Public License as published by
 	the Free Software Foundation, either version 3 of the License, or
 	(at your option) any later version.
 
 	DBEXEL is distributed in the hope that it will be useful,
 	but WITHOUT ANY WARRANTY; without even the implied warranty of
 	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 	GNU General Public License for more details.
 
 	You should have received a copy of the GNU General Public License
 	along with this program.  If not, see <http://www.gnu.org/licenses/>.
 --%>

<%@taglib prefix="s" uri="/struts-tags"%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Please Enter Details of Worksheet</title>
</head>
<body>
Please enter details for the data you entered for the worksheet :

<s:property value="workSheetName" />
</BR>
<s:form theme="simple" action="StoreInitWorkSheetAction">
<%--
<s:submit value="Delete" label="Delete" method="deleteColumn"/>
 --%>
	<s:hidden key="workSheetName"></s:hidden>
	<table>
	
		<tr>
			<td>Action</td>
			<s:iterator value="attributeValues" id="ID" status="cellPosition"
				var="currentCell">
				<td>
			
				<s:select list="cellActionOptions" name="cellActions[%{#cellPosition.index}]" value="Keep"></s:select>
				
				</td>
			</s:iterator>
		</tr>
		 
		<tr>
			<th>Cell Name</th>
			<s:iterator value="attributeValues" id="ID" status="cellPosition"
				var="currentCell">
				<th><s:textfield name="attributeNames[%{#cellPosition.index}]"></s:textfield>
				</th>
			</s:iterator>
		</tr>
		<tr>
			<td>Cell Value</td>
			<s:iterator value="attributeValues" id="ID" status="cellPosition"
				var="currentCell">
				<td><s:textfield
					name="attributeValues[%{#cellPosition.index}]"
					value="%{currentCell}"></s:textfield></td>
			</s:iterator>
		</tr>
	</table>
	<p>
	<s:submit />
	 
	</p>
</s:form>

</body>
</html>